package com.aptech.jboa.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Voucher entity. @author MyEclipse Persistence Tools
 */

public class Voucher  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Userinfo userinfoByCreateUserinfoId;
     private Userinfo userinfoByNextdealby;
     private Date createTime;
     private Double createTotalmoney;
     private String matter;
     private String status;
     private Set checkresults = new HashSet(0);
     private Set voucherDetails = new HashSet(0);


    // Constructors

    /** default constructor */
    public Voucher() {
    }

    
    /** full constructor */
    public Voucher(Userinfo userinfoByCreateUserinfoId, Userinfo userinfoByNextdealby, Date createTime, Double createTotalmoney, String matter, String status, Set checkresults, Set voucherDetails) {
        this.userinfoByCreateUserinfoId = userinfoByCreateUserinfoId;
        this.userinfoByNextdealby = userinfoByNextdealby;
        this.createTime = createTime;
        this.createTotalmoney = createTotalmoney;
        this.matter = matter;
        this.status = status;
        this.checkresults = checkresults;
        this.voucherDetails = voucherDetails;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Userinfo getUserinfoByCreateUserinfoId() {
        return this.userinfoByCreateUserinfoId;
    }
    
    public void setUserinfoByCreateUserinfoId(Userinfo userinfoByCreateUserinfoId) {
        this.userinfoByCreateUserinfoId = userinfoByCreateUserinfoId;
    }

    public Userinfo getUserinfoByNextdealby() {
        return this.userinfoByNextdealby;
    }
    
    public void setUserinfoByNextdealby(Userinfo userinfoByNextdealby) {
        this.userinfoByNextdealby = userinfoByNextdealby;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getCreateTotalmoney() {
        return this.createTotalmoney;
    }
    
    public void setCreateTotalmoney(Double createTotalmoney) {
        this.createTotalmoney = createTotalmoney;
    }

    public String getMatter() {
        return this.matter;
    }
    
    public void setMatter(String matter) {
        this.matter = matter;
    }

    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }

    public Set getCheckresults() {
        return this.checkresults;
    }
    
    public void setCheckresults(Set checkresults) {
        this.checkresults = checkresults;
    }

    public Set getVoucherDetails() {
        return this.voucherDetails;
    }
    
    public void setVoucherDetails(Set voucherDetails) {
        this.voucherDetails = voucherDetails;
    }
   








}